<?php $this->pageTitle = __l('Tools'); ?>
<div>
	<div class="content-info"><?php echo __l('When cron is not working, you may trigger it by clicking below link. For the processes that happen during a cron run, refer the ').$this->Html->link('product manual','http://dev1products.dev.agriya.com/doku.php?id=sfplatform', array('target'=>'_blank'));?></div>
    <ul class="admin-sub-links side2-list clearfix">
    <li class="cron-icon grid_left"><span><?php echo $this->Html->link(__l('Manually trigger cron to update project status'), array('controller' => 'crons', 'action' => 'main', '?f=' . $this->request->url, 'admin' => false), array('title' => __l('You can use this to update project status. This will be used in the scenario where cron is not working.'), 'class' => 'js-trigger-cron')); ?></span></li>
    <li class="cron-icon grid_left"><span><?php echo $this->Html->link(__l('Manually trigger cron to clear permanent cache'), array('controller' => 'crons', 'action' => 'clear_permanent_cache', '?f=' . $this->request->url, 'admin' => false), array('class' => 'js-trigger-cron', 'title' => __l('You can use this to clear permanent cache files. This will be used in the scenario where cron is not working.'))); ?></span></li>
    </ul>
</div>